package com.app.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 团购分类子类表
 * </p>
 *
 * @author shaokuiling
 * @since 2024-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_classification_subclass")
public class ClassificationSubclass implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 团购分类子类表Id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    private String name;

    /**
     * 1正常2删除
     */
    private Integer status;

    /**
     * 团购分类表Id
     */
    private Integer categoryId;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 份数
     */
    private Integer number;

    /**
     * 单位
     */
    private String unit;


}
